﻿using System.Collections.Generic;

namespace unTroublemakerUI.ViewModel.DesignTime
{
    internal class DesignTimeSpecificationItemViewModel : ISpecificationItemViewModel
    {
        public DesignTimeSpecificationItemViewModel(string displayName, IEnumerable<ISpecificationItemViewModel> children)
        {
            SubItems = children;
            DisplayName = displayName;
            Expanded = true;
        }

        public bool Working { get; set; }
        public bool Passed { get; set; }
        public bool Failed { get; set; }
        public string DisplayName { get; private set; }
        public bool Expanded { get; set; }
        public IEnumerable<ISpecificationItemViewModel> SubItems { get; private set; }
    }
}